home *** CD-ROM | disk | FTP | other *** search
/ Programming Languages Suite / ProgramD2.iso / Borland / Borland C++ V5.02 / ENROLS1.PAK / ENROLDOC.CPP next >
C/C++ Source or Header  |  1997-05-06  |  1KB  |  69 lines

  1. // EnrolDoc.cpp : implementation of the CEnrollDoc class
  2. //
  3.  
  4. #include "Stdafx.h"
  5. #include "Enroll.h"
  6. #include "SectSet.h"
  7. #include "EnrolDoc.h"
  8.  
  9. #ifdef _DEBUG
  10. #define new DEBUG_NEW
  11. #undef THIS_FILE
  12. static char THIS_FILE[] = __FILE__;
  13. #endif
  14.  
  15.  
  16. /////////////////////////////////////////////////////////////////////////////
  17. // CEnrollDoc
  18.  
  19. IMPLEMENT_DYNCREATE(CEnrollDoc, CDocument)
  20.  
  21. BEGIN_MESSAGE_MAP(CEnrollDoc, CDocument)
  22.     //{{AFX_MSG_MAP(CEnrollDoc)
  23.         // NOTE - the ClassWizard will add and remove mapping macros here.
  24.         //    DO NOT EDIT what you see in these blocks of generated code!
  25.     //}}AFX_MSG_MAP
  26. END_MESSAGE_MAP()
  27.  
  28. /////////////////////////////////////////////////////////////////////////////
  29. // CEnrollDoc construction/destruction
  30.  
  31. CEnrollDoc::CEnrollDoc()
  32. {
  33.     // TODO: add one-time construction code here
  34.  
  35. }
  36.  
  37. CEnrollDoc::~CEnrollDoc()
  38. {
  39. }
  40.  
  41. BOOL CEnrollDoc::OnNewDocument()
  42. {
  43.     if (!CDocument::OnNewDocument())
  44.         return FALSE;
  45.  
  46.     // TODO: add reinitialization code here
  47.     // (SDI documents will reuse this document)
  48.  
  49.     return TRUE;
  50. }
  51.  
  52. /////////////////////////////////////////////////////////////////////////////
  53. // CEnrollDoc diagnostics
  54.  
  55. #ifdef _DEBUG
  56. void CEnrollDoc::AssertValid() const
  57. {
  58.     CDocument::AssertValid();
  59. }
  60.  
  61. void CEnrollDoc::Dump(CDumpContext& dc) const
  62. {
  63.     CDocument::Dump(dc);
  64. }
  65. #endif //_DEBUG
  66.  
  67. /////////////////////////////////////////////////////////////////////////////
  68. // CEnrollDoc commands
  69.